package cn.com.self.apis.portal.service.intf;

import cn.com.self.apis.portal.entity.SysRoleEntity;
import cn.com.self.apis.portal.util.ICustomPage;
import cn.com.self.apis.portal.vo.TreeNodesModel;
import cn.com.selfsoft.smartcity.core.service.GenericService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
* <p>
    * 系统角色 服务类
    * </p>
*
* @author chenyongren
* @since 2019-09-27
*/
public interface ISysRoleService extends GenericService<SysRoleEntity, String, SysRoleEntity> {

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deletes(List<Long> ids);

    TreeNodesModel createRoleTree(Map<String, Object> queryMap);

    ICustomPage<SysRoleEntity> selectPage(Map<String, Object> queryParams, Page pageable);

    //PageImpl selectRoleList(Map<String, Object> queryParams, Pageable pageable);

    List<SysRoleEntity> selectRoleList(Map<String, Object> queryParams);
}
